package top.carrotguo.weibo.retrofit.api;

import com.sina.weibo.sdk.auth.Oauth2AccessToken;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;
import top.carrotguo.weibo.bean.HomeTimeLine;
import top.carrotguo.weibo.bean.UserInfo;

public interface StatusService {

    //获取当前登录用户及其所关注（授权）用户的最新微博
    @GET("statuses/home_timeline.json")
    Call<HomeTimeLine> getTimeline(@Query("access_token")String accessToken,@Query("count") int count,@Query("page") int page);

    @GET("statuses/user_timeline.json")
    Call<HomeTimeLine> getUserBlog(@Query("access_token")String accessToken, @Query("uid") String uid);

}
